
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item">
                <a class="" href="javascript:;">所有商品</a>
                <dl class="layui-nav-child">
                    <dd><a href="smartCar.html">智能汽车</a></dd>
                    <dd><a href="secondHandCar.html">二手汽车</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;">系统管理</a>
                <dl class="layui-nav-child">
                    <dd><a href="userManager.html">用户管理</a></dd>
                    <dd><a href="userAdministrator.html">管理员</a></dd>
                </dl>
            </li>

            <li class="layui-nav-item">
                <a href="javascript:;">发布商品</a>
                <dl class="layui-nav-child">
                    <dd><a href="commoditySmart.html">智能汽车</a></dd>
                    <dd><a href="commodity.html">二手汽车</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>

<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>